package com.funcourse.demo.model.room;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document
@NoArgsConstructor
@AllArgsConstructor
public class AttenderRoomRelation {

  String id;
  @Indexed
  String attenderId;
  String roomId;
  @Indexed
  Long attendTime;

}
